package com.blog.personalblog.mapper;

import com.blog.personalblog.entity.Notice;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NoticeMapper {
    List<Notice> getNoticePage();
    int create(Notice notice);
    int updateNotice(Notice notice);
    void deleteNotice(Integer id);
    Notice getNoticeById(Integer id);
}
